package com.example.gymnasiumsystem.service.impl;

import com.example.gymnasiumsystem.dao.UserInfoDAO;
import com.example.gymnasiumsystem.enity.UserInfo;
import com.example.gymnasiumsystem.service.GymService;

public class GymServiceImpl implements GymService {
    private UserInfoDAO userInfoDAO=new UserInfoDAO();
    @Override
    public UserInfo GetUser(String username) {
        return userInfoDAO.getUserByUsername(username);
    }
}
